//
//  ConsultTableViewCell.m
//  Hero
//
//  Created by lanou3g on 16/5/4.
//  Copyright © 2016年 刘永庆. All rights reserved.
//

#import "ConsultTableViewCell.h"
#import "UIImageView+WebCache.h"
#import "ConsultModel.h"
@interface ConsultTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageview1;
@property (weak, nonatomic) IBOutlet UILabel *titleLbale;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;
@property (weak, nonatomic) IBOutlet UILabel *timeLbale;

@end
@implementation ConsultTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)layoutSubviews
{
    [self.imageview1 sd_setImageWithURL:[NSURL URLWithString:self.model.image_url_big]];
    self.titleLbale.text = self.model.title;
    self.timeLbale.text = self.model.publication_date;
    self.contentLable.text = self.model.summary;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
